package com.sunrise.xdoc.service;

import ar.com.fdvs.dj.domain.DynamicReport;
import com.sunrise.xdoc.constant.ReportFileTypeEnum;
import net.sf.jasperreports.engine.JRException;

import java.io.FileNotFoundException;
import java.util.List;

/**
 * The Class IReportService.
 *
 * @author Nguyen Duc Dung
 * @since 5/18/13 6:14 PM
 */
public interface IReportService {

    /**
     * Print report
     *
     * @param report
     * @param data
     * @param fileTypeEnum
     * @return url to report file.
     */
    public String printReport(DynamicReport report, List<?> data, ReportFileTypeEnum fileTypeEnum) throws JRException, FileNotFoundException;

}
